package com.bwie.service;

import com.bwie.pojo.Goods;
import com.bwie.pojo.ShoppingCart;
import com.bwie.pojo.User;

import java.util.List;

public interface ShoppingCartService {
    void addShoppingCart(ShoppingCart shoppingCart);

    List<ShoppingCart> shoppingCartList();

    void deleteGoods(Integer id);

    ShoppingCart findCountAndPrice();



    User findUserById(Integer id);

    void delAll(List<Integer> ids);

    void buyShopping(List<ShoppingCart> shoppingCart);
}
